<template>
  <div>
    <div>
        <van-nav-bar title="home" left-text="" left-arrow>
            <template #left>
                <van-icon name="wap-nav" size="20" />
            </template>
            <template #right>
                <van-icon name="user-circle-o" size="20" />
            </template>
        </van-nav-bar>
    </div>
    <router-view />

    <div>
      <van-tabbar v-model="active" active-color="#449E2E" inactive-color="#C7E2C1">
        <van-tabbar-item icon="wap-home" >首页</van-tabbar-item>
        <van-tabbar-item icon="comment">聊天</van-tabbar-item>
        <van-tabbar-item icon="shopping-cart">购物车</van-tabbar-item>
        <van-tabbar-item icon="bell">信息</van-tabbar-item>
        <van-tabbar-item icon="like">我的</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>
</template>

<script>

export default {
  name: 'HomeView',
  data() {
    return {
      active: 0
    }
  },
  mounted() {
  },
  methods: {
  }
}
</script>
